//
//  Y2BackendRequest.h
//  Y2Common
//
//  Created by MacPro on 2021/1/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Y2BackendRequest : NSObject
//
@property(nonatomic, strong)NSString *endPoint;
// 'GET', 'POST'... 默认为'GET'
@property(nonatomic, strong)NSString *method;
// 'JSON', 'PATH'   默认为 'JSON'
@property(nonatomic, strong)NSString *query;
// 参数
@property(nonatomic, strong)NSDictionary *parameters;
// 请求头
@property(nonatomic, strong)NSDictionary *headers;

@end

NS_ASSUME_NONNULL_END
